package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.example.demo.entity.Partner;
import com.example.demo.entity.PartnerRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PartnerMapper extends BaseMapper<Partner> {
    List<PartnerRequest> selectSentRequestsByUserId(@Param("user_id") Integer userId);
}